<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('user/shops')}">店长列表</a></li>
			<li><a href="{:url('user/shopsadd')}">店长添加</a></li>
			<li class="active"><a href="{:url('user/shopsadd')}">信息修改</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('user/shopPost')}">
			<input type="hidden" name="id" value="{$id}">
			<div class="form-group">
				<label for="real_name" class="col-sm-2 control-label"><span class="form-required">*</span>真实姓名</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="real_name" name="real_name" value="{$result.real_name}" required>
				</div>
			</div>
			<div class="form-group">
				<label for="id_card" class="col-sm-2 control-label"><span class="form-required">*</span>身份证号</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="id_card" name="id_card" value="{$result.id_card}" required>
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>性别</label>
				<div class="col-md-6 col-sm-10">
					<if condition="$result.sex == 1">
						<input type="radio" id="sex" name="sex" value="1" checked />男
						<input type="radio" id="sex" name="sex" value="2" />女
					<elseif condition="$result.sex == 2">
						<input type="radio" id="sex" name="sex" value="1"/>男
						<input type="radio" id="sex" name="sex" value="2" checked />女
					</if>
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_pass" class="col-sm-2 control-label"><span class="form-required">*</span>密码</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="user_pass" name="user_pass" placeholder="******">
				</div>
			</div>
			<div class="form-group">
				<label for="user_email" class="col-sm-2 control-label"><span class="form-required">*</span>邮箱</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="user_email" name="user_email" value="{$result.user_email}" required>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>